<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>时间戳转化</title>
</head>
<body>
    <span class="box"></span>
</body>
<script src="jquery.min.js"></script>
<script src="js/chajian.js"></script>
<script>
    var m = new Date().getTime()
    $(function(){
                $('body').swim({
                   type:'Y-m-d H:i:s',
                   spanClass:'box',
                   time:m
                })
            })
</script>

</html>